package cn.wgx.modules.sys.entity.form;

import lombok.Data;

import java.util.Date;
import java.util.List;

//Profile 简况
//Purpose 目标
//ProjectExperience 项目经验
//EducationExperience 教育经历
//ProfessionalSkill 专业技能
//SelfEvaluate 自我描述
//TrainExperience 培训经验
//UnifiedPurpose
//WorkExperience 工作经验

/**
 * 用户简历表单提交对象
 */
@Data
public class FormUserCV {

    private Integer user_id;
    private List<CV_ProfessionalSkill> CV_ProfessionalSkill;
    private List<CV_GoodAt> CV_GoodAt;
    private List<CV_WorkExperience> CV_WorkExperience;
    private List<CV_Honor> CV_Honor;
    private List<CV_Education> CV_Education;
    private List<CV_ProjectExperience> CV_ProjectExperience;
    private List<CV_Certificate> CV_Certificate;

    private String selfEvaluate;



    private  class BaseCV{

    }

    //软件技能
    @Data
    private class CV_ProfessionalSkill extends BaseCV{

        private String title;

        private int level;

        private String content;

    }

    //擅长技能
    @Data
    private class CV_GoodAt  extends BaseCV{

        private String title;

        private int level;

        private String content;

    }


    //工作经验
    @Data
    private class CV_WorkExperience  extends BaseCV{

        private String company;

        private String department;

        private String duty;

        private Date startDate;

        private Date endDate;

        private String content;



    }

    //个人荣誉
    @Data
    private class CV_Honor  extends BaseCV{

        private String where;

        private String title;

        private int level;

        private Date startDate;

        private Date endDate;

        private String certificate_url;

        private String content;

    }


    //证书
    @Data
    private class CV_Certificate extends BaseCV{

        private String title;

        private int level;

        private Date date;

        private String where;

        private String content;

    }


    //教育经历
    @Data
    private class CV_Education  extends BaseCV{

        private String schoolName;

        private String major;

        private String eduBackground;

        private String content;

        private Date startDate;

        private Date endDate;


    }

    //作品
    @Data
    private class CV_ProjectExperience  extends BaseCV{

        private String title;

        private String content;

        private String url;

    }
}
